﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link rel="Stylesheet" type="text/css" media="screen" href="Screen.css" />
  <title>STP_SetStpVersion</title>
</head>
<body>
	<h3>STP_SetStpVersion</h3>
	<hr />
<pre>
void STP_SetStpVersion
(
    STP_BRIDGE*       bridge,
    enum STP_VERSION  version
);
</pre>
	<h4>
		Summary</h4>
	<p>
		Sets the STP version of the bridge, referred to as <em>ForceProtocolVersion</em> in the STP 
		standard.</p>
	<h4>
		Parameters</h4>
	<dl>
		<dt>bridge</dt>
		<dd>Pointer to an STP_BRIDGE object.</dd>
		<dt>protocolVersion</dt>
		<dd>One of the <a href="STP_VERSION.html">STP_VERSION</a> values.</dd>
	</dl>
	<h4>
		Remarks</h4>
	<p>
		See §13.7.2 in 801.1Q-2018 for more information.</p>
	<p>
			Execution of this function is a potentially lengthy process. 
			It may call various callbacks multiple times.</p>
	<p>
			This function may not be called from within an <a href="STP_CALLBACKS.html">STP callback</a>.</p>

</body>
</html>
